﻿using System.Collections.Generic;

namespace FlitBit.Cache.CacheNet
{
	/// <summary>
	///   Base interface for the cache network messages.
	/// </summary>
	public interface ICacheNetMessage
	{
		/// <summary>
		///   Gets the message's context keys.
		/// </summary>
		IEnumerable<string> ContextKeys { get; }

		/// <summary>
		///   Gets the message's kind.
		/// </summary>
		CacheNetMessageKind Kind { get; }
	}
}